package com.atguigu.gmall.mq.ware;

import lombok.Data;

import java.util.List;

/**
 * @Author:lyd
 * @Date:2023/9/7 14:04
 * @Version:1.0
 * @Description 封装扣减库存的消息
 **/
@Data
public class WareStockMsg {
    private Long orderId;
    private String consignee;//收货人
    private String consigneeTel;//收货电话
    private String orderComment;//订单备注
    private String orderBody;//	订单概要
    private String deliveryAddress;//	发货地址
    private String paymentWay;//支付方式：  ‘1’ 为货到付款，‘2’为在线支付
    private List<Detail> details;//购买商品明细

    @Data
    public static class Detail {
        private Long skuId;
        private Integer skuNum;
        private String skuName;
    }
}
